from . import views

from django.conf.urls import url


urlpatterns = [
	url(r'^startScheduler$', views.JobManageViewSet.as_view({'get': 'start_scheduler'})),
	url(r'^stopScheduler$', views.JobManageViewSet.as_view({'get': 'stop_scheduler'})),
	url(r'^startJob$', views.JobManageViewSet.as_view({'post': 'start_job'})),
	url(r'^pauseOrResumeJob$', views.JobManageViewSet.as_view({'get': 'pause_or_resume_job'})),
	url(r'^createReport$', views.CreateJobReortViewSet.as_view({'post': 'create'})),
	url(r'^report/list$', views.JobReportViewSet.as_view({'get': 'list'})),
	url(r'^list$', views.JobManageViewSet.as_view({'get': 'job_list'})),
	url(r'^runNow$', views.JobManageViewSet.as_view({'get': 'run_now'})),
	url(r'^test$', views.JobManageViewSet.as_view({'get': 'get_jobs'})),
]
